package com.lunm.im.massage;

import com.lunm.im.menu.InstructionType;
import lombok.Data;
import lombok.ToString;

/**
 * @program: mi-server
 * @author: Shawn
 * @create: 2024-12-28 14:18
 */
@Data
@ToString(callSuper = true)
public class LoginRequestMessage extends Message {
    private String username;
    private String password;


    public LoginRequestMessage(String username, String password) {
        this.username = username;
        this.password = password;
    }


    @Override
    public InstructionType getMessageType() {
        return InstructionType.LOGIN_REQUEST;
    }
}
